home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CUCD / Programming / AMOSList / AMOSLIST / text0085.txt < prev    next >
Encoding:
Text File  |  1998-04-01  |  3.0 KB  |  66 lines

  1. To the one known as Jens,
  2. > >> Plain and simple, does anyone have a procedure/routine to scale/resample
  3. > >> a sample, like changing it from say, 10000 to 8000 rate ???
  4. > > Not off hand, but it should be as simple as streching the horizontal rate,
  5. > > and leaving the data bytes alone.
  6. > > Ehh, Right... Just one thing:
  7. > I don't know anything about the way samples work, I just know I can load a
  8. > raw sample with Bload into chip-mem and play it with the Pt Raw command
  9. > in AMCAF....
  10.  
  11. Ok, here ya go.  The ratio between original rate and processed rate is
  12. identical to the ratio between length and original length.
  13.  
  14. N-joi.
  15.  
  16. cyagain.
  17.  
  18.  _   _   _        _     _   _     |  Max Headroom - Amiga  Babylon-5 - Amiga
  19. |_> |_| |_| |\ | |_ |  | | /   |  |  SeaQuest     - Amiga  RoboCop   - Amiga
  20. |_> | \ | | | \| |_ |_ |_| \_  .  |  ST:Voyager   - Amiga  Red Dwarf - Amiga
  21.                                   |  What computer am I using ?        Amiga.
  22.                     --------------+---------------
  23.                      http://www.mirex.demon.co.uk
  24.                       Member: IAPA & Team *AMOS*
  25.  
  26.  
  27.  
  28. UUxT 3.0b UNREGISTERED Public Release
  29.  
  30. begin 644 sam-stretch.amos
  31. M04U/4R!"87-I8R!V,3,T(```!/P$`092`````!`!!E(`&"`@(%)A=R!S86UPY
  32. M;&4@<W1R96-H:6YG+@``!`$&4@`````0`092`!@@("`H8RD@2RY(:6QL+"!-3
  33. M87(@,3DY."````0!!E(`````!`$&4@`````$`092``````(````+`0`&```$=
  34. M`&)A;FO_H@`^````"@``$`$&4@`8(&)A;FL]9G)E92!B86YK(&YU;6)E<BX@4
  35. M```*`0`&``8"`'-R_Z(`/@``*O@``"@!!E(`2"!S<CUS86UP;&4@<F%T92P@D
  36. M:70G<R!A<W-U;6EN9R!A(')A=R!S86UP;&4@=VET:&]U="!P87)S:6YG(&%N"
  37. M(&EF9CAS=G@N(````@````P!``8`#`("80#_HAE4`'0`)@```'P```L!&+P`&
  38. M/@````$`7``&``P"`F$````-`0`&`!("`'-L_Z(8?`!T`#X````!`'P```8!$
  39. M&0P`/@````$``!4!!E(`(B!S;#US86UP;&4@;&5N9W1H(&]F(&9I<G-T('-A%
  40. M;7!L92````T!(4``!@``!`!B86YK`%P`!@`2`@!S;```$`$8#``&``P"`F$`D
  41. M`%P!0`!T``8```0`8F%N:P!\```;`0!.`?\!!``^````#P!<`4``=``&```$*
  42. M`&)A;FL`?`!<``8`$@(`<VP`7``&``8"`'-R```"````(P$&4@`^('-L,CUS9
  43. M86UP;&4@;&5N9W1H(&]F(&1E<W1I;F%T:6]N('-A;7!L92X@(%1O(&AA;'9EK
  44. M('%U86QI='DL("```!T!!E(`,B!M86ME(&ET(&AA;&8@=&AE('-A;7!L92!L"
  45. M96YG=&@@;V8@=&AE(&9I<G-T(&]N92X@```0`0`&`!@$`'-L,@#_H@`&`!("C
  46. M`'-L_^P`/@````@```D!!E(`"E-,,CTQ,#`P,"````(````2`2%```8```0`;
  47. M8F%N:__``#X````!`%P`!@`8!`!S;#(````"````#P$`!@`>`@%P,?^B`4``E
  48. M=``&```$`&)A;FL`?```$P$`!@`D`@!P,O^B`4``=``&```$`&)A;FO_P``^Q
  49. M`````0!\```1`0`&`"H"`6ER_Z(`!@`2`@!S;/_L``8`&`0`<VPR`````@``7
  50. M`!(!`CP`<@`&`#`"`&X`_Z(`/@````$`E``&`!@$`'-L,@````\$(<H`!@`DX
  51. M`@!P,@!<(>8`=``&`!X"`7`Q`'P```<$!$0`!@`D`@!P,@``$`0`!@`>`@%P+
  52. M,?^B``8`'@(!<#'_P``&`"H"`6ER```#`0)&```"````$0$`!@`V!`%S<C(`?
  53. M_Z(`!@`&`@!S<O_L``8`*@(!:7(``"$!`$X!_P$$`#X````/`%P!0`!T``8`F
  54. M``0`8F%N:__``#X````!`'P`7``&`!@$`'-L,@``7``&`#8$`7-R,@```!8!T
  55. M!'8`)@`73W)I9VEN86P@<V%M<&QE(&QE;F=T:#T``%P`!@`2`@!S;```%0$$<
  56. M=@`F`!5/<FEG:6YA;"!S86UP;&4@<F%T93T``%P`!@`&`@!S<@```P$$=@``>
  57. M%`$$=@`F`!).97<@<V%M<&QE(&QE;F=T:#T`7``&`!@$`'-L,@```!8!!'8`2
  58. M)@`03F5W('-A;7!L92!R871E/0!<!K0`=``&`#8$`7-R,@``?````@```!,!_
  59. J!E(`'E-A=F4@1G-E;"0H(FYE=W-A;7!L92(I+$)!3DLK,0``06U"<P``[
  60. ``
  61. end
  62. size 1302
  63. UUxT 3.0b UNREGISTERED Public Release
  64.  
  65.  
  66.